package filedemo;

public class MainDemo1 {

    public static void main(String[] args) {
        java.io.File file = new java.io.File("MainDemo1.java");
        Long lastModified = file.lastModified();
        java.util.Date date = new java.util.Date(lastModified);
        System.out.println(date);
        System.out.println("--------------");
    }
}
